package com.tjtt.tdm.flow.service;

import java.util.List;
import java.util.Map;

import com.tjtt.tdm.base.PageResult;
import com.tjtt.tdm.exception.DaoException;
import com.tjtt.tdm.flow.bean.Flowtype;
import com.tjtt.tdm.flow.dao.impl.FlowtypeDaoImpl;


public interface IFlowtypeService {
	  

	public int GetFlowtypeSize() throws DaoException;
	
	public void executeSQL(String sql) throws DaoException;
	
	public Flowtype GetFlowtypeById(Long id) throws DaoException;

	public String save(Flowtype entity) throws DaoException;
	
	public String saveobject(Object entity) throws DaoException;

	public void update(Flowtype entity) throws DaoException;

	public PageResult GetFlowtypeList(Map<String, String> filterMap) throws DaoException;
	
	public List findAllBySql(String strSql) throws DaoException;
	
}	
